<%@page import="java.text.SimpleDateFormat"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
<title>Aplicaciones Distribuidas</title>
<link href="../css/main.css" rel="stylesheet" type="text/css">
<link href="../css/menu_navigation.css" rel="stylesheet" type="text/css">
<link href="../css/header.css" rel="stylesheet" type="text/css">
<script src="../js/menu_navigation.js"></script>
</head>
<body topmargin="0" leftmargin="0">
<div id="wrapper"><!-- lo cerramos en el footer.jsp -->

	<div id=header>
		<div id='cssmenu'>
			<ul>
			   <li class="${menu == 0 ? 'active' : ''}"><a href="../servlet/mainServlet?actionId=0">Inicio</a></li>
			   <li class="${menu == 1 ? 'active' : ''}"><a href="../servlet/mainServlet?actionId=1">Nuevo envío Intersucursal</a></li>
			   <li class="${menu == 4 ? 'active' : ''}"><a href="../servlet/mainServlet?actionId=4">Ver Envíos</a></li>
			   <li class="${menu == 5 ? 'active' : ''}"><a href="../servlet/mainServlet?actionId=5">Ver Clientes</a></li>
			   <li class="${menu == 7 ? 'active' : ''}"><a href="../servlet/mainServlet?actionId=7">Ver Vehículos</a></li>
			   <li class="${menu == 9 ? 'active' : ''}"><a href="../servlet/mainServlet?actionId=9">Ver Sucursales</a></li>
			   <li class="${menu == 13 ? 'active' : ''}"><a href="../servlet/mainServlet?actionId=13">Ver Viajes</a></li>
			</ul>
		</div>
	</div>
	<c:if test="${successMessage != null }">
		<li class="success-msg"><ul><li><span><c:out value="${successMessage}"/></span></li></ul></li>
	</c:if>
	<c:if test="${errorMessage != null }">
		<li class="error-msg"><ul><li><span><c:out value="${errorMessage}"/></span></li></ul></li>
	</c:if>
